package org.jeecg.qis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.qis.entity.QisMatdetailValue;
import org.jeecg.qis.entity.QisMatheadValue;
import org.jeecg.qis.vo.QisMatheadValueVO;
import org.jeecg.common.api.vo.Result;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: qis-来料检测送检单数据表
 * @Author: licy
 * @Date: 2022-10-09
 * @Version: V1.0
 */
public interface IQisMatheadValueService extends IService<QisMatheadValue> {

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain(String id);

	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);

	/**
	 * 编辑方法
	 *
	 * @param qisMatheadValue
	 */
	Result<String> edit(QisMatheadValue qisMatheadValue);

    void qisMaInspectionSubmission(QisMatheadValue qisMatheadValue);

    IPage<QisMatheadValueVO> queryList(Page<QisMatheadValueVO> page, QisMatheadValue qisMatheadValue);

    Map<String, Object> getInspectionItems(QisMatheadValue qisMatheadValue);

    void createCheckSheet(QisMatheadValue qisMatheadValue);

    List<QisMatdetailValue> getQuantitativeDetail(Map<String, Object> map);

    Result<String> verificationInspection(QisMatheadValue qisMatheadValue);

	void addQisMatheadValue(QisMatheadValue qisMatheadValue);
}
